.class public abstract Lcom/xingbook/ui/b/a;
.super Landroid/view/ViewGroup;


# instance fields
.field protected a:Landroid/content/Context;

.field protected b:Landroid/app/Activity;

.field protected c:Lcom/xingbook/c/o;

.field protected d:Lcom/xingbook/d/a;

.field protected e:Lcom/xingbook/d/d;

.field protected f:Lcom/xingbook/c/a;

.field protected g:Lcom/xingbook/c/e;

.field protected h:Ljava/util/List;

.field protected i:Ljava/util/List;

.field protected j:Landroid/util/SparseArray;

.field protected k:Lcn/a/a/c/a;

.field protected l:Z

.field public m:Landroid/os/Handler;

.field private n:I

.field private o:Lcom/xingbook/ui/overclass/a;

.field private p:Ljava/util/ArrayList;

.field private q:Landroid/util/SparseIntArray;

.field private r:Z


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/c/o;Lcom/xingbook/d/d;)V
    .locals 3

    const/4 v2, 0x0

    const/4 v1, 0x0

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;)V

    iput-boolean v2, p0, Lcom/xingbook/ui/b/a;->l:Z

    iput-object v1, p0, Lcom/xingbook/ui/b/a;->o:Lcom/xingbook/ui/overclass/a;

    iput-object v1, p0, Lcom/xingbook/ui/b/a;->p:Ljava/util/ArrayList;

    iput-object v1, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    iput-boolean v2, p0, Lcom/xingbook/ui/b/a;->r:Z

    new-instance v0, Lcom/xingbook/ui/b/c;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/b/c;-><init>(Lcom/xingbook/ui/b/a;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->m:Landroid/os/Handler;

    iput-object p1, p0, Lcom/xingbook/ui/b/a;->b:Landroid/app/Activity;

    iput-object p1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/xingbook/ui/b/a;->c:Lcom/xingbook/c/o;

    invoke-interface {p2}, Lcom/xingbook/c/o;->h()Lcom/xingbook/d/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    iput-object p3, p0, Lcom/xingbook/ui/b/a;->e:Lcom/xingbook/d/d;

    invoke-static {}, Lcom/xingbook/c/a;->a()Lcom/xingbook/c/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->f:Lcom/xingbook/c/a;

    invoke-interface {p2, p1}, Lcom/xingbook/c/o;->h(Landroid/app/Activity;)Lcom/xingbook/c/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->h:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    new-instance v0, Landroid/util/SparseArray;

    invoke-direct {v0}, Landroid/util/SparseArray;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->j:Landroid/util/SparseArray;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->p:Ljava/util/ArrayList;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/b/a;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->p:Ljava/util/ArrayList;

    return-object v0
.end method

.method private a()V
    .locals 4
    .annotation build Landroid/annotation/TargetApi;
        value = 0x10
    .end annotation

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v1}, Lcn/a/a/c/a;->d()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v0

    if-eqz v0, :cond_4

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-direct {v1, v2, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->e()I

    move-result v0

    if-nez v0, :cond_1

    sget-object v0, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    sget-object v2, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    invoke-virtual {v1, v0, v2}, Landroid/graphics/drawable/BitmapDrawable;->setTileModeXY(Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V

    invoke-virtual {v1, v3}, Landroid/graphics/drawable/BitmapDrawable;->setDither(Z)V

    :cond_0
    :goto_0
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x10

    if-lt v0, v2, :cond_3

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/b/a;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->e()I

    move-result v0

    if-ne v0, v3, :cond_2

    sget-object v0, Landroid/graphics/Shader$TileMode;->REPEAT:Landroid/graphics/Shader$TileMode;

    sget-object v2, Landroid/graphics/Shader$TileMode;->REPEAT:Landroid/graphics/Shader$TileMode;

    invoke-virtual {v1, v0, v2}, Landroid/graphics/drawable/BitmapDrawable;->setTileModeXY(Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V

    invoke-virtual {v1, v3}, Landroid/graphics/drawable/BitmapDrawable;->setDither(Z)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->e()I

    move-result v0

    const/4 v2, 0x2

    if-eq v0, v2, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->e()I

    goto :goto_0

    :cond_3
    invoke-virtual {p0, v1}, Lcom/xingbook/ui/b/a;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_1

    :cond_4
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->setBackgroundColor(I)V

    goto :goto_1
.end method

.method private b(IIII)Ljava/util/ArrayList;
    .locals 4

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    return-object v1

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/a/a/d/c;

    invoke-virtual {v0}, Lcn/a/a/d/c;->d()I

    move-result v3

    if-ne v3, p1, :cond_0

    invoke-virtual {v0}, Lcn/a/a/d/c;->a()I

    move-result v3

    if-ne v3, p2, :cond_0

    invoke-virtual {v0}, Lcn/a/a/d/c;->h()I

    move-result v3

    if-ne v3, p3, :cond_0

    invoke-virtual {v0}, Lcn/a/a/d/c;->m()I

    move-result v3

    if-ne v3, p4, :cond_0

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0
.end method

.method private b()V
    .locals 11

    const/4 v10, 0x1

    const/4 v6, 0x0

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->getChildCount()I

    move-result v1

    move v0, v6

    :goto_0
    if-lt v0, v1, :cond_2

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->removeAllViews()V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->i()Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_1

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v7

    :cond_0
    :goto_1
    invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_3

    :cond_1
    return-void

    :cond_2
    :try_start_0
    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->clearAnimation()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_3
    invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcn/a/a/b/b;

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->e:Lcom/xingbook/d/d;

    if-eqz v0, :cond_4

    invoke-static {v3}, Lcom/xingbook/c/e;->a(Lcn/a/a/b/b;)Z

    move-result v0

    if-nez v0, :cond_0

    :cond_4
    const/4 v1, 0x0

    invoke-virtual {v3}, Lcn/a/a/b/b;->j()I

    move-result v8

    invoke-virtual {v3}, Lcn/a/a/b/b;->g()[Lcn/a/a/d/c;

    move-result-object v2

    if-eqz v2, :cond_5

    array-length v4, v2

    move v0, v6

    :goto_3
    if-lt v0, v4, :cond_8

    :cond_5
    invoke-virtual {v3}, Lcn/a/a/b/b;->e()[Lcn/a/a/d/i;

    move-result-object v0

    if-eqz v0, :cond_6

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->j:Landroid/util/SparseArray;

    invoke-virtual {v2, v8, v0}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    :cond_6
    invoke-virtual {v3}, Lcn/a/a/b/b;->c()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_7
    :pswitch_0
    move-object v0, v1

    :goto_4
    if-eqz v0, :cond_0

    invoke-virtual {v0, v8}, Lcom/xingbook/ui/a/c;->setId(I)V

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_8
    aget-object v5, v2, v0

    iget-object v9, p0, Lcom/xingbook/ui/b/a;->h:Ljava/util/List;

    invoke-interface {v9, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_3

    :pswitch_1
    new-instance v0, Lcom/xingbook/ui/a/aj;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-direct {v0, v1, p0, v3, v2}, Lcom/xingbook/ui/a/aj;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto :goto_4

    :pswitch_2
    new-instance v0, Lcom/xingbook/ui/a/o;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    move-object v2, p0

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/ui/a/o;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto :goto_4

    :pswitch_3
    move-object v0, v3

    check-cast v0, Lcn/a/a/b/a;

    invoke-virtual {v0}, Lcn/a/a/b/a;->a()I

    move-result v0

    if-eqz v0, :cond_7

    new-instance v0, Lcom/xingbook/ui/a/a;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    move-object v2, p0

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/ui/a/a;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto :goto_4

    :pswitch_4
    new-instance v0, Lcom/xingbook/ui/a/al;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    move-object v2, p0

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/ui/a/al;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V

    iput-boolean v10, p0, Lcom/xingbook/ui/b/a;->r:Z

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto :goto_4

    :pswitch_5
    new-instance v0, Lcom/xingbook/ui/a/n;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-direct {v0, v1, p0, v3, v2}, Lcom/xingbook/ui/a/n;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto :goto_4

    :pswitch_6
    new-instance v0, Lcom/xingbook/ui/a/ad;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    move-object v2, p0

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/ui/a/ad;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto :goto_4

    :pswitch_7
    new-instance v0, Lcom/xingbook/ui/a/i;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    move-object v2, p0

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/ui/a/i;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto/16 :goto_4

    :pswitch_8
    new-instance v0, Lcom/xingbook/ui/a/e;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    move-object v2, p0

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/ui/a/e;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto/16 :goto_4

    :pswitch_9
    move-object v0, v1

    goto/16 :goto_4

    :pswitch_a
    new-instance v0, Lcom/xingbook/ui/a/as;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-direct {v0, v1, p0, v3, v2}, Lcom/xingbook/ui/a/as;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto/16 :goto_4

    :pswitch_b
    move-object v0, v1

    goto/16 :goto_4

    :pswitch_c
    new-instance v0, Lcom/xingbook/ui/a/ab;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    move-object v2, p0

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/ui/a/ab;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V

    move-object v1, v0

    check-cast v1, Lcom/xingbook/ui/a/ab;

    invoke-virtual {v1}, Lcom/xingbook/ui/a/ab;->getItemView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto/16 :goto_4

    :pswitch_d
    new-instance v0, Lcom/xingbook/ui/a/f;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-direct {v0, v1, p0, v3, v2}, Lcom/xingbook/ui/a/f;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto/16 :goto_4

    :pswitch_e
    new-instance v0, Lcom/xingbook/ui/a/u;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    move-object v2, p0

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/ui/a/u;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V

    iput-boolean v10, p0, Lcom/xingbook/ui/b/a;->r:Z

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->addView(Landroid/view/View;)V

    goto/16 :goto_4

    :catch_0
    move-exception v2

    goto/16 :goto_2

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_0
        :pswitch_e
    .end packed-switch
.end method


# virtual methods
.method public a(ZFFFF)Landroid/graphics/Bitmap;
    .locals 10

    const/4 v9, -0x1

    const/4 v8, 0x0

    const/4 v7, 0x1

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->clearFocus()V

    invoke-virtual {p0, v8}, Lcom/xingbook/ui/b/a;->setPressed(Z)V

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->willNotCacheDrawing()Z

    move-result v1

    invoke-virtual {p0, v8}, Lcom/xingbook/ui/b/a;->setWillNotCacheDrawing(Z)V

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->getDrawingCacheBackgroundColor()I

    move-result v2

    invoke-virtual {p0, v8}, Lcom/xingbook/ui/b/a;->setDrawingCacheBackgroundColor(I)V

    if-eqz v2, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->destroyDrawingCache()V

    :cond_0
    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->buildDrawingCache()V

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->getDrawingCache()Landroid/graphics/Bitmap;

    move-result-object v0

    if-eqz p1, :cond_1

    :try_start_0
    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    int-to-float v5, v3

    mul-float/2addr v5, p2

    float-to-int v5, v5

    int-to-float v6, v4

    mul-float/2addr v6, p3

    float-to-int v6, v6

    int-to-float v3, v3

    mul-float/2addr v3, p4

    float-to-int v3, v3

    int-to-float v4, v4

    mul-float/2addr v4, p5

    float-to-int v4, v4

    invoke-static {v0, v5, v6, v3, v4}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIII)Landroid/graphics/Bitmap;
    :try_end_0
    .catch Ljava/lang/OutOfMemoryError; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_1

    move-result-object v0

    :goto_0
    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->destroyDrawingCache()V

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/b/a;->setWillNotCacheDrawing(Z)V

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/b/a;->setDrawingCacheBackgroundColor(I)V

    return-object v0

    :cond_1
    :try_start_1
    invoke-static {v0}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;
    :try_end_1
    .catch Ljava/lang/OutOfMemoryError; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/lang/NullPointerException; {:try_start_1 .. :try_end_1} :catch_1

    move-result-object v0

    goto :goto_0

    :catch_0
    move-exception v0

    new-array v0, v7, [I

    aput v9, v0, v8

    sget-object v3, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;

    invoke-static {v0, v7, v7, v3}, Landroid/graphics/Bitmap;->createBitmap([IIILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v0

    goto :goto_0

    :catch_1
    move-exception v0

    new-array v0, v7, [I

    aput v9, v0, v8

    sget-object v3, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;

    invoke-static {v0, v7, v7, v3}, Landroid/graphics/Bitmap;->createBitmap([IIILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v0

    goto :goto_0
.end method

.method public a(I)V
    .locals 4

    if-nez p1, :cond_3

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->b()Lcn/a/a/c/a;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->a(Lcn/a/a/c/a;)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    if-nez v0, :cond_4

    new-instance v0, Landroid/util/SparseIntArray;

    invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    :goto_1
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_1
    :goto_2
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_5

    :cond_2
    return-void

    :cond_3
    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->c()Lcn/a/a/c/a;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->a(Lcn/a/a/c/a;)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    invoke-virtual {v0}, Landroid/util/SparseIntArray;->clear()V

    goto :goto_1

    :cond_5
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->getmBaseItem()Lcn/a/a/b/b;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/b/b;->c()I

    move-result v2

    const/4 v3, 0x7

    if-ne v2, v3, :cond_1

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    invoke-virtual {v0}, Lcn/a/a/b/b;->j()I

    move-result v0

    const/4 v3, -0x1

    invoke-virtual {v2, v0, v3}, Landroid/util/SparseIntArray;->put(II)V

    goto :goto_2
.end method

.method public a(III)V
    .locals 6

    const/4 v5, 0x0

    const/4 v0, 0x2

    if-ne p1, v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    return-void

    :cond_2
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->getmBaseItem()Lcn/a/a/b/b;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/b/b;->c()I

    move-result v3

    const/4 v4, 0x7

    if-ne v3, v4, :cond_0

    invoke-virtual {v1}, Lcn/a/a/b/b;->j()I

    move-result v3

    if-eq v3, p2, :cond_0

    check-cast v1, Lcn/a/a/b/c;

    invoke-virtual {v1}, Lcn/a/a/b/c;->y()I

    move-result v1

    if-ne v1, p3, :cond_0

    check-cast v0, Lcom/xingbook/ui/a/e;

    invoke-virtual {v0, v5, v5}, Lcom/xingbook/ui/a/e;->a(IZ)V

    goto :goto_0
.end method

.method public a(Lcn/a/a/c/a;)V
    .locals 5

    const/4 v4, 0x0

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    iput-object p1, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->a()I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/b/a;->n:I

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->c:Lcom/xingbook/c/o;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->b:Landroid/app/Activity;

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v2}, Lcn/a/a/c/a;->j()I

    move-result v2

    iget-object v3, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    invoke-virtual {v3}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v3

    invoke-virtual {v3}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v3

    invoke-virtual {v3}, Lcn/a/a/i;->a()I

    move-result v3

    invoke-interface {v0, v1, v2, v3}, Lcom/xingbook/c/o;->a(Landroid/app/Activity;II)Lcom/xingbook/c/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iput-boolean v4, p0, Lcom/xingbook/ui/b/a;->r:Z

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-virtual {v0}, Lcom/xingbook/c/e;->c()I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-virtual {v1}, Lcom/xingbook/c/e;->d()I

    move-result v1

    invoke-virtual {p0, v4, v4, v0, v1}, Lcom/xingbook/ui/b/a;->layout(IIII)V

    invoke-direct {p0}, Lcom/xingbook/ui/b/a;->b()V

    goto :goto_0
.end method

.method public a(Ljava/lang/String;)V
    .locals 8

    const/4 v6, 0x0

    :try_start_0
    new-instance v7, Ljava/io/FileOutputStream;

    invoke-direct {v7, p1}, Ljava/io/FileOutputStream;-><init>(Ljava/lang/String;)V

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/high16 v4, 0x3f80

    const/high16 v5, 0x3f80

    move-object v0, p0

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/ui/b/a;->a(ZFFFF)Landroid/graphics/Bitmap;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1

    move-result-object v1

    :try_start_1
    sget-object v0, Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;

    const/16 v2, 0x64

    invoke-virtual {v1, v0, v2, v7}, Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z

    invoke-virtual {v7}, Ljava/io/FileOutputStream;->flush()V

    invoke-virtual {v7}, Ljava/io/FileOutputStream;->close()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v2, Lcom/xingbook/ui/b/b;

    invoke-direct {v2, p0}, Lcom/xingbook/ui/b/b;-><init>(Lcom/xingbook/ui/b/a;)V

    invoke-interface {v0, v2}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1
    .catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_3
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_2

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->recycle()V

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    move-object v1, v6

    :goto_1
    :try_start_2
    invoke-virtual {v0}, Ljava/io/FileNotFoundException;->printStackTrace()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->recycle()V

    goto :goto_0

    :catch_1
    move-exception v0

    move-object v1, v6

    :goto_2
    :try_start_3
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->recycle()V

    goto :goto_0

    :catchall_0
    move-exception v0

    move-object v1, v6

    :goto_3
    if-eqz v1, :cond_1

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v2

    if-nez v2, :cond_1

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->recycle()V

    :cond_1
    throw v0

    :catchall_1
    move-exception v0

    goto :goto_3

    :catch_2
    move-exception v0

    goto :goto_2

    :catch_3
    move-exception v0

    goto :goto_1
.end method

.method public a(II)Z
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, p1, p2, v0, v0}, Lcom/xingbook/ui/b/a;->a(IIII)Z

    move-result v0

    return v0
.end method

.method public a(IIII)Z
    .locals 11

    const/4 v10, 0x2

    const/16 v9, 0x11

    const v8, 0x7f080147

    const/4 v3, 0x1

    const/4 v2, 0x0

    iget-boolean v0, p0, Lcom/xingbook/ui/b/a;->l:Z

    if-eqz v0, :cond_0

    move v0, v2

    :goto_0
    return v0

    :cond_0
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/xingbook/ui/b/a;->b(IIII)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-nez v1, :cond_1

    move v0, v2

    goto :goto_0

    :cond_1
    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_2
    :goto_1
    :pswitch_0
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_3

    move v0, v3

    goto :goto_0

    :cond_3
    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/a/a/d/c;

    invoke-virtual {v0}, Lcn/a/a/d/c;->c()I

    move-result v5

    invoke-virtual {v0}, Lcn/a/a/d/c;->b()I

    move-result v6

    invoke-virtual {p0, v6}, Lcom/xingbook/ui/b/a;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/xingbook/ui/a/c;

    if-nez v1, :cond_4

    const/16 v7, 0xfe

    if-eq v6, v7, :cond_4

    const/16 v7, 0xff

    if-ne v6, v7, :cond_2

    :cond_4
    packed-switch v5, :pswitch_data_0

    :pswitch_1
    goto :goto_1

    :pswitch_2
    invoke-virtual {v1}, Lcom/xingbook/ui/a/c;->h()Z

    goto :goto_1

    :pswitch_3
    invoke-virtual {v1}, Lcom/xingbook/ui/a/c;->i()Z

    goto :goto_1

    :pswitch_4
    instance-of v0, v1, Lcom/xingbook/ui/a/ac;

    if-eqz v0, :cond_2

    invoke-virtual {v1}, Lcom/xingbook/ui/a/c;->getItemType()I

    move-result v0

    if-ne v0, v10, :cond_8

    invoke-virtual {v1}, Lcom/xingbook/ui/a/c;->getItemGroup()I

    move-result v0

    if-eqz v0, :cond_6

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->getViewList()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :cond_5
    :goto_2
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_7

    :cond_6
    new-instance v5, Landroid/os/Message;

    invoke-direct {v5}, Landroid/os/Message;-><init>()V

    iput v9, v5, Landroid/os/Message;->what:I

    invoke-virtual {v1}, Lcom/xingbook/ui/a/c;->getId()I

    move-result v0

    iput v0, v5, Landroid/os/Message;->arg1:I

    iput v3, v5, Landroid/os/Message;->arg2:I

    iget-object v6, p0, Lcom/xingbook/ui/b/a;->m:Landroid/os/Handler;

    invoke-virtual {v1}, Lcom/xingbook/ui/a/c;->getmBaseItem()Lcn/a/a/b/b;

    move-result-object v0

    check-cast v0, Lcn/a/a/b/a;

    invoke-virtual {v0}, Lcn/a/a/b/a;->b()I

    move-result v0

    int-to-long v0, v0

    invoke-virtual {v6, v5, v0, v1}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    goto :goto_1

    :cond_7
    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v1}, Lcom/xingbook/ui/a/c;->getItemGroup()I

    move-result v7

    invoke-virtual {v0, v10, v7}, Lcom/xingbook/ui/a/c;->a(II)Z

    move-result v7

    if-eqz v7, :cond_5

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->getmBaseItem()Lcn/a/a/b/b;

    move-result-object v7

    invoke-virtual {v7}, Lcn/a/a/b/b;->j()I

    move-result v7

    if-eq v7, v6, :cond_5

    check-cast v0, Lcom/xingbook/ui/a/ac;

    invoke-interface {v0, v3}, Lcom/xingbook/ui/a/ac;->c(Z)V

    goto :goto_2

    :cond_8
    check-cast v1, Lcom/xingbook/ui/a/ac;

    invoke-interface {v1, v3}, Lcom/xingbook/ui/a/ac;->a(Z)V

    goto/16 :goto_1

    :pswitch_5
    instance-of v0, v1, Lcom/xingbook/ui/a/ac;

    if-eqz v0, :cond_2

    check-cast v1, Lcom/xingbook/ui/a/ac;

    invoke-interface {v1, v3}, Lcom/xingbook/ui/a/ac;->b(Z)V

    goto/16 :goto_1

    :pswitch_6
    instance-of v0, v1, Lcom/xingbook/ui/a/ac;

    if-eqz v0, :cond_2

    check-cast v1, Lcom/xingbook/ui/a/ac;

    invoke-interface {v1, v3}, Lcom/xingbook/ui/a/ac;->c(Z)V

    goto/16 :goto_1

    :pswitch_7
    invoke-virtual {v0}, Lcn/a/a/d/c;->e()I

    move-result v0

    invoke-virtual {p0, v6, v0}, Lcom/xingbook/ui/b/a;->b(II)Lcn/a/a/d/i;

    move-result-object v0

    if-eqz v0, :cond_2

    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const/16 v5, 0x10

    iput v5, v1, Landroid/os/Message;->what:I

    iput v6, v1, Landroid/os/Message;->arg1:I

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v5, p0, Lcom/xingbook/ui/b/a;->m:Landroid/os/Handler;

    invoke-virtual {v0}, Lcn/a/a/d/i;->f()I

    move-result v0

    int-to-long v6, v0

    invoke-virtual {v5, v1, v6, v7}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    goto/16 :goto_1

    :pswitch_8
    invoke-virtual {p0, v6}, Lcom/xingbook/ui/b/a;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    goto/16 :goto_1

    :pswitch_9
    invoke-static {}, Lcom/xingbook/park/activity/ReadingAct;->a()Lcom/xingbook/park/activity/ReadingAct;

    move-result-object v0

    if-eqz v0, :cond_9

    invoke-static {}, Lcom/xingbook/park/activity/ReadingAct;->a()Lcom/xingbook/park/activity/ReadingAct;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/xingbook/park/activity/ReadingAct;->a(I)V

    :cond_9
    invoke-static {}, Lcom/xingbook/park/activity/BCViewAct;->a()Lcom/xingbook/park/activity/BCViewAct;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/xingbook/park/activity/BCViewAct;->a()Lcom/xingbook/park/activity/BCViewAct;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/activity/BCViewAct;->b()V

    goto/16 :goto_1

    :pswitch_a
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->c:I

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->b:I

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->e:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->c()V

    goto/16 :goto_1

    :pswitch_b
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->c:I

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->b:I

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->e:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->b()V

    goto/16 :goto_1

    :pswitch_c
    invoke-static {}, Lcom/xingbook/park/activity/ReadingAct;->a()Lcom/xingbook/park/activity/ReadingAct;

    move-result-object v0

    if-eqz v0, :cond_a

    invoke-static {}, Lcom/xingbook/park/activity/ReadingAct;->a()Lcom/xingbook/park/activity/ReadingAct;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/xingbook/park/activity/ReadingAct;->a(I)V

    :cond_a
    invoke-static {}, Lcom/xingbook/park/activity/FCViewAct;->a()Lcom/xingbook/park/activity/FCViewAct;

    move-result-object v0

    if-eqz v0, :cond_b

    invoke-static {}, Lcom/xingbook/park/activity/FCViewAct;->a()Lcom/xingbook/park/activity/FCViewAct;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/activity/FCViewAct;->c()V

    :cond_b
    invoke-static {}, Lcom/xingbook/park/activity/BCViewAct;->a()Lcom/xingbook/park/activity/BCViewAct;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/xingbook/park/activity/BCViewAct;->a()Lcom/xingbook/park/activity/BCViewAct;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/activity/BCViewAct;->b()V

    goto/16 :goto_1

    :pswitch_d
    :try_start_0
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/FCViewAct;

    const/16 v1, 0xb

    const/4 v5, 0x0

    new-array v5, v5, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V
    :try_end_0
    .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_1

    :catch_0
    move-exception v0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-static {v0, v8, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_e
    :try_start_1
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/FCViewAct;

    const/16 v1, 0xc

    const/4 v5, 0x0

    new-array v5, v5, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V
    :try_end_1
    .catch Ljava/lang/ClassCastException; {:try_start_1 .. :try_end_1} :catch_1

    goto/16 :goto_1

    :catch_1
    move-exception v0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-static {v0, v8, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_f
    :try_start_2
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/FCViewAct;

    const/16 v1, 0xd

    const/4 v5, 0x0

    new-array v5, v5, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V
    :try_end_2
    .catch Ljava/lang/ClassCastException; {:try_start_2 .. :try_end_2} :catch_2

    goto/16 :goto_1

    :catch_2
    move-exception v0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-static {v0, v8, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_10
    :try_start_3
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/FCViewAct;

    const/16 v1, 0xe

    const/4 v5, 0x0

    new-array v5, v5, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V
    :try_end_3
    .catch Ljava/lang/ClassCastException; {:try_start_3 .. :try_end_3} :catch_3

    goto/16 :goto_1

    :catch_3
    move-exception v0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-static {v0, v8, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_11
    invoke-virtual {v1}, Lcom/xingbook/ui/a/c;->j()Z

    goto/16 :goto_1

    :pswitch_12
    instance-of v0, v1, Lcom/xingbook/ui/a/ac;

    if-eqz v0, :cond_2

    check-cast v1, Lcom/xingbook/ui/a/ac;

    invoke-interface {v1}, Lcom/xingbook/ui/a/ac;->b()V

    goto/16 :goto_1

    :pswitch_13
    iget-object v1, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcn/a/a/d/c;->f()I

    move-result v5

    invoke-virtual {v1, v5}, Lcom/xingbook/d/a;->k(I)V

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v1}, Lcn/a/a/c/a;->l()I

    move-result v1

    sget v5, Lcn/a/a/b;->b:I

    if-ne v1, v5, :cond_c

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v1, Lcom/xingbook/park/activity/FCViewAct;

    new-array v5, v3, [Ljava/lang/Object;

    invoke-virtual {v0}, Lcn/a/a/d/c;->g()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    aput-object v0, v5, v2

    invoke-virtual {v1, v9, v5}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V

    goto/16 :goto_1

    :cond_c
    iget-object v1, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v1}, Lcn/a/a/c/a;->l()I

    move-result v1

    sget v5, Lcn/a/a/b;->c:I

    if-ne v1, v5, :cond_d

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v1, Lcom/xingbook/park/activity/BCViewAct;

    new-array v5, v3, [Ljava/lang/Object;

    invoke-virtual {v0}, Lcn/a/a/d/c;->g()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    aput-object v0, v5, v2

    invoke-virtual {v1, v9, v5}, Lcom/xingbook/park/activity/BCViewAct;->a(I[Ljava/lang/Object;)V

    goto/16 :goto_1

    :cond_d
    iget-object v1, p0, Lcom/xingbook/ui/b/a;->e:Lcom/xingbook/d/d;

    invoke-virtual {v0}, Lcn/a/a/d/c;->g()I

    move-result v0

    const/4 v5, -0x1

    invoke-interface {v1, v0, v3, v5}, Lcom/xingbook/d/d;->a(IZI)V

    goto/16 :goto_1

    :pswitch_14
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->b:I

    if-ne v0, v1, :cond_e

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/FCViewAct;

    const/16 v1, 0x12

    new-array v5, v2, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V

    goto/16 :goto_1

    :cond_e
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->c:I

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->e:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->getReadSetting()Lcom/xingbook/d/c;

    move-result-object v0

    invoke-interface {v0, v3}, Lcom/xingbook/d/c;->setAutoFlip(Z)V

    goto/16 :goto_1

    :pswitch_15
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->b:I

    if-ne v0, v1, :cond_f

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/FCViewAct;

    const/16 v1, 0x13

    new-array v5, v2, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V

    goto/16 :goto_1

    :cond_f
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->c:I

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->e:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->getReadSetting()Lcom/xingbook/d/c;

    move-result-object v0

    invoke-interface {v0, v2}, Lcom/xingbook/d/c;->setAutoFlip(Z)V

    goto/16 :goto_1

    :pswitch_16
    :try_start_4
    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v1, Lcom/xingbook/park/activity/FCViewAct;

    const/16 v5, 0x14

    const/4 v6, 0x1

    new-array v6, v6, [Ljava/lang/Object;

    const/4 v7, 0x0

    invoke-virtual {v0}, Lcn/a/a/d/c;->i()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    aput-object v0, v6, v7

    invoke-virtual {v1, v5, v6}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V
    :try_end_4
    .catch Ljava/lang/ClassCastException; {:try_start_4 .. :try_end_4} :catch_4

    goto/16 :goto_1

    :catch_4
    move-exception v0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-static {v0, v8, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_17
    invoke-virtual {v0}, Lcn/a/a/d/c;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v5, "android.intent.action.VIEW"

    invoke-direct {v1, v5, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_1

    :pswitch_18
    :try_start_5
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/FCViewAct;

    const/16 v1, 0x16

    const/4 v5, 0x0

    new-array v5, v5, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/park/activity/FCViewAct;->a(I[Ljava/lang/Object;)V
    :try_end_5
    .catch Ljava/lang/ClassCastException; {:try_start_5 .. :try_end_5} :catch_5

    goto/16 :goto_1

    :catch_5
    move-exception v0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-static {v0, v8, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_19
    invoke-virtual {v0}, Lcn/a/a/d/c;->k()I

    move-result v0

    invoke-static {v0}, Lcom/xingbook/c/e;->b(I)V

    goto/16 :goto_1

    :pswitch_1a
    sget v1, Lcom/xingbook/c/c;->a:I

    const/16 v5, 0x2d

    if-ne v1, v5, :cond_10

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v5, "http://app2.xingbook.com/single/viewDetail.do"

    invoke-direct {v1, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "?id="

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Lcn/a/a/d/c;->l()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v5, "android.intent.action.VIEW"

    invoke-direct {v1, v5, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_1

    :cond_10
    iget-object v1, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    invoke-virtual {v0}, Lcn/a/a/d/c;->l()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0, v3}, Lcom/xingbook/xingbook/activity/XingBookDetailActivity;->a(Landroid/content/Context;Ljava/lang/String;Z)V

    goto/16 :goto_1

    :pswitch_1b
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_11
    :goto_3
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    instance-of v5, v0, Lcom/xingbook/ui/a/a;

    if-eqz v5, :cond_11

    check-cast v0, Lcom/xingbook/ui/a/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/a/a;->c(Z)V

    goto :goto_3

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_e
        :pswitch_f
        :pswitch_10
        :pswitch_11
        :pswitch_12
        :pswitch_13
        :pswitch_14
        :pswitch_15
        :pswitch_16
        :pswitch_17
        :pswitch_18
        :pswitch_0
        :pswitch_19
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_1a
        :pswitch_1b
    .end packed-switch
.end method

.method protected b(I)Lcn/a/a/b/b;
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->i()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/a/a/b/b;

    invoke-virtual {v0}, Lcn/a/a/b/b;->j()I

    move-result v2

    if-ne v2, p1, :cond_0

    goto :goto_0
.end method

.method public b(II)Lcn/a/a/d/i;
    .locals 2

    if-lez p2, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->j:Landroid/util/SparseArray;

    invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lcn/a/a/d/i;

    if-eqz v0, :cond_0

    array-length v1, v0

    if-gt p2, v1, :cond_0

    add-int/lit8 v1, p2, -0x1

    aget-object v0, v0, v1

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public b(III)V
    .locals 5

    const/4 v4, 0x1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    return-void

    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->getBaseItem()Lcn/a/a/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcn/a/a/b/b;->i()I

    move-result v3

    if-ne v3, p1, :cond_0

    invoke-virtual {v2}, Lcn/a/a/b/b;->f()Lcn/a/a/d/e;

    move-result-object v3

    invoke-virtual {v3}, Lcn/a/a/d/e;->g()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {v2}, Lcn/a/a/b/b;->j()I

    move-result v2

    if-eq v2, p2, :cond_0

    if-nez p3, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->i()Z

    goto :goto_0

    :cond_2
    if-ne p3, v4, :cond_3

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->clearAnimation()V

    goto :goto_0

    :cond_3
    const/4 v2, 0x2

    if-ne p3, v2, :cond_0

    instance-of v2, v0, Lcom/xingbook/ui/a/ac;

    if-eqz v2, :cond_0

    check-cast v0, Lcom/xingbook/ui/a/ac;

    invoke-interface {v0, v4}, Lcom/xingbook/ui/a/ac;->c(Z)V

    goto :goto_0
.end method

.method protected c(I)Lcom/xingbook/ui/a/c;
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->getmBaseItem()Lcn/a/a/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcn/a/a/b/b;->j()I

    move-result v2

    if-ne v2, p1, :cond_0

    goto :goto_0
.end method

.method public c()V
    .locals 5

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->j()I

    move-result v0

    const/4 v1, 0x3

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/ReadingAct;

    invoke-virtual {v0}, Lcom/xingbook/park/activity/ReadingAct;->d()Lcom/xingbook/c/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->removeAllViews()V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->c:Lcom/xingbook/c/o;

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->b:Landroid/app/Activity;

    iget-object v2, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v2}, Lcn/a/a/c/a;->j()I

    move-result v2

    iget-object v3, p0, Lcom/xingbook/ui/b/a;->d:Lcom/xingbook/d/a;

    invoke-virtual {v3}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v3

    invoke-virtual {v3}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v3

    invoke-virtual {v3}, Lcn/a/a/i;->a()I

    move-result v3

    invoke-interface {v0, v1, v2, v3}, Lcom/xingbook/c/o;->a(Landroid/app/Activity;II)Lcom/xingbook/c/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-virtual {v0}, Lcom/xingbook/c/e;->c()I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->g:Lcom/xingbook/c/e;

    invoke-virtual {v1}, Lcom/xingbook/c/e;->d()I

    move-result v1

    invoke-virtual {p0, v4, v4, v0, v1}, Lcom/xingbook/ui/b/a;->layout(IIII)V

    invoke-direct {p0}, Lcom/xingbook/ui/b/a;->a()V

    invoke-direct {p0}, Lcom/xingbook/ui/b/a;->b()V

    :cond_0
    return-void
.end method

.method public c(II)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Landroid/util/SparseIntArray;->put(II)V

    goto :goto_0
.end method

.method public d(I)I
    .locals 2

    const/4 v0, -0x1

    iget-object v1, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    if-nez v1, :cond_0

    :goto_0
    return v0

    :cond_0
    iget-object v1, p0, Lcom/xingbook/ui/b/a;->q:Landroid/util/SparseIntArray;

    invoke-virtual {v1, p1, v0}, Landroid/util/SparseIntArray;->get(II)I

    move-result v0

    goto :goto_0
.end method

.method public d()V
    .locals 3

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/b/a;->l:Z

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    return-void

    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    instance-of v2, v0, Lcom/xingbook/ui/a/ac;

    if-eqz v2, :cond_0

    check-cast v0, Lcom/xingbook/ui/a/ac;

    const/4 v2, 0x0

    invoke-interface {v0, v2}, Lcom/xingbook/ui/a/ac;->b(Z)V

    goto :goto_0
.end method

.method public e()V
    .locals 3

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/b/a;->l:Z

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    return-void

    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    instance-of v2, v0, Lcom/xingbook/ui/a/ac;

    if-eqz v2, :cond_0

    check-cast v0, Lcom/xingbook/ui/a/ac;

    invoke-interface {v0}, Lcom/xingbook/ui/a/ac;->a()V

    goto :goto_0
.end method

.method public f()V
    .locals 2

    invoke-direct {p0}, Lcom/xingbook/ui/b/a;->a()V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->c()V

    goto :goto_0
.end method

.method public g()V
    .locals 2

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/b/a;->l:Z

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->d()V

    goto :goto_0
.end method

.method public getActivityTouchListener()Lcom/xingbook/ui/overclass/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->o:Lcom/xingbook/ui/overclass/a;

    return-object v0
.end method

.method public getPage()Lcn/a/a/c/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    return-object v0
.end method

.method public getPageOrientation()I
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->k:Lcn/a/a/c/a;

    invoke-virtual {v0}, Lcn/a/a/c/a;->j()I

    move-result v0

    goto :goto_0
.end method

.method public getPageType()I
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/b/a;->n:I

    return v0
.end method

.method public getViewList()Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    return-object v0
.end method

.method public getmController()Lcom/xingbook/d/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->e:Lcom/xingbook/d/d;

    return-object v0
.end method

.method public h()V
    .locals 2

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/b/a;->l:Z

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->m:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->m:Landroid/os/Handler;

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->m:Landroid/os/Handler;

    const/16 v1, 0x11

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    return-void

    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->e()V

    goto :goto_0
.end method

.method public i()V
    .locals 4
    .annotation build Landroid/annotation/TargetApi;
        value = 0x10
    .end annotation

    const/4 v3, 0x0

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x10

    if-lt v0, v1, :cond_2

    invoke-virtual {p0, v3}, Lcom/xingbook/ui/b/a;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_1
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->p:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    :goto_2
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->p:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-gtz v0, :cond_3

    :cond_0
    return-void

    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->f()V

    goto :goto_0

    :cond_2
    invoke-virtual {p0, v3}, Lcom/xingbook/ui/b/a;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/xingbook/ui/b/a;->p:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->p:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    goto :goto_2
.end method

.method public j()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/b/a;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->getChildCount()I

    move-result v1

    const/4 v0, 0x0

    :goto_1
    if-lt v0, v1, :cond_1

    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->removeAllViews()V

    return-void

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->g()V

    goto :goto_0

    :cond_1
    :try_start_0
    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->clearAnimation()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :catch_0
    move-exception v2

    goto :goto_2
.end method

.method public abstract k()Z
.end method

.method public l()Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/b/a;->r:Z

    return v0
.end method

.method protected onLayout(ZIIII)V
    .locals 0

    return-void
.end method

.method protected onMeasure(II)V
    .locals 3

    const/4 v1, 0x0

    move v0, v1

    :goto_0
    invoke-virtual {p0}, Lcom/xingbook/ui/b/a;->getChildCount()I

    move-result v2

    if-lt v0, v2, :cond_0

    invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->onMeasure(II)V

    return-void

    :cond_0
    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/a;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v1, v1}, Landroid/view/View;->measure(II)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public setActivityTouchListener(Lcom/xingbook/ui/overclass/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/b/a;->o:Lcom/xingbook/ui/overclass/a;

    return-void
.end method
